﻿namespace Anley.DomainDrivenDesign.Contract.Domain;

/// <summary>
/// 聚合根接口
/// </summary>
public interface IAggregateRoot<TKey>
    : IUpdatableEntity<TKey>
    where TKey : struct
{
}

/// <summary>
/// 聚合根接口
/// </summary>
public interface IAggregateRoot
    : IAggregateRoot<int>, IUpdatableEntity
{
}